<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring3-3.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
    <head th:include="teacher/template :: header" />
  <body class="main-body">
        <div class="container main-containern">
            <div th:substituteby="teacher/template :: nav" />   
            <!--<a th:href="@{/staff/management/students/new}" class="btn btn-primary float_right margin_button_bottom">Thêm Học Sinh Mới</a>-->
            <div class="clearfix"></div>
            <table id="table" style="table-layout: fixed; word-wrap: break-word;">
                <thead>
                    <tr>                        
                        <th rowspan="2">Lớp Học</th>
                        <th rowspan="2">Môn Học</th>
                        <th colspan="6">Điểm</th>
                    </tr>
                    <tr>
                        <th>Miệng</th>
                        <th>15 phút</th>
                        <th>1 tiết</th>
                        <th>Giữa kỳ </th>
                        <th>Cuối kỳ</th>
                        <th>Trung bình</th>
                    </tr>
                </thead>
                <tbody>
                    <tr th:id="${phancong.getid()}" align="center" th:each="phancong: ${listPhanCong}">                        
                        <td th:text="${phancong.getChiTietChuyenMon().getChiTietMonHoc().getKhoiLop().gettenKhoiLop()} + ${phancong.getLopHoc().gettenLopHoc()}"/>
                        <td th:text="${phancong.getChiTietChuyenMon().getChiTietMonHoc().getMonHoc().gettenMonHoc()}"/>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/ktmieng/0'}" id="mieng" title="Chấm điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/kt15/0'}" id="15" title="Chấm điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/kt1tiet/0'}" id="tiet" title="Chấm điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/ktgiuaky/0'}" id="giuaky" title="Chấm điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/ktcuoiky/0'}" id="cuoiky" title="Chấm điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                        <td>
                            <a th:href="@{'/teacher/class/'+ ${phancong.getid()} + '/trungbinh/0'}" id="trungbinh" title="Xem điểm"><i class="glyphicon glyphicon-pencil"></i></a>                      
                        </td>
                    </tr>
                </tbody>
            </table>
            <div th:include="teacher/template :: footer"></div>
        </div>	        
        <script src="" th:src="@{/media/js/teacher_module/class.js}"></script>

        <script th:inline="javascript">
//             var chamDiemURL = /*[[@{/teacher/class/}]]*/ "chamDiem";
        </script>    
    </body>
</html>